package com.ddwl.gate.model;

import com.ddwl.common.dao.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import java.time.Instant;

/**
 * wechat_push_record
 * @author 
 */

@Getter
@Setter
@Table(name = "wechat_push_record")
public class WechatPushRecord extends BaseModel {

    /**
     * 接收者openid
     */
    private String touser;

    /**
     * 模板ID
     */
    private String templateId;

    /**
     * 消息内容
     */
    private String message;

    /**
     * 推送时间
     */
    private Instant pushTime;

    /**
     * 返回码
     */
    private Long errcode;

    /**
     * 返回消息
     */
    private String errmsg;

    /**
     * 返回消息id
     */
    private Long msgid;

}